var WxParse = require('../../../utils/wxParse/wxParse.js');

Page({

  /**
   * 页面的初始数据
   */
  data: {
    title: "",
    content: "",
    click: 0,
    publish_time: ""
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    console.log(options)
    this.setData({
      title: options.title,
      content: decodeURIComponent(options.content),
      click: options.click,
      publish_time: options.publish_time
    })
    WxParse.wxParse('content', 'html', this.data.content, this, 6);
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {
  },

})